<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>11_Web Workers-html给js发送数据</title>
    </head>
    <body>
        <script>
            var worker = new Worker('./js/11_Web Workers-html给js发送数据.js');
            
            worker.postMessage('今天的你有点困');
        </script>
    </body>
</html>